<h1>Editing news_article</h1>

<%= error_messages_for :news_article %>

<% form_for(@news_article) do |f| %>
  <p>
    <b>Title</b><br />
    <%= f.text_field :title %>
  </p>

  <p>
    <b>Summary</b><br />
    <%= f.text_area :summary %>
  </p>

  <p>
    <b>Content</b><br />
    <%= f.text_area :content %>
  </p>

  <p>
    <%= f.submit "Update" %>
  </p>
<% end %>

<%= link_to 'Show', @news_article %> |
<%= link_to 'Back', news_articles_path %>
